package com.bj58.groupbuy.action.service;

import java.util.HashMap;
import java.util.List;

import com.bj58.groupbuy.action.model.IRColumns;
import com.bj58.groupbuy.action.model.IRDrillConfig;
import com.bj58.groupbuy.service.IBaseService;

public interface IRDrillConfigService extends IBaseService<IRDrillConfig> {
	
	/**根据报表ID获取查询配置列表
	 * @param irReportId
	 * @return
	 * @throws Exception
	 */
	public List<IRDrillConfig> getListByIRid (int irReportId) throws Exception;
	
	/**根据报表钻取条件，返回钻取结果
	 * @param irReportId
	 * @return
	 * @throws Exception
	 */
	public List<String> getListForDrill (String Sql,List<Integer> colTypes,int type,HashMap<String,HashMap<String, Integer>> drillmap) throws Exception;
	
	public List<String> getListForMupDrill (List<String> tempList , List<String> cols,HashMap<String,IRColumns>  irColMap,String groupby,int addcolsszie) throws Exception;
}
